package com.supermarket.mainFrame;

import java.awt.Graphics;
import java.net.URL;

import javax.swing.ImageIcon;
import javax.swing.JPanel;
public class MyJPanel extends JPanel {
	protected void paintComponent(Graphics arg0) {
	URL url = getClass().getResource("../frame/buttonIcons/back.jpg");
	ImageIcon icon = new ImageIcon(url);
	arg0.drawImage(icon.getImage(),0,0,this );
	}
}


